
<form name="editForm" role="form" novalidate ng-submit="vm.save()">

	<div class="modal-header">
		<button type="button" class="close" data-dismiss="modal"
			aria-hidden="true" ng-click="vm.clear()">&times;</button>
		<h4 class="modal-title" id="myLeaguerLabel"
			data-translate="milkbeeApp.leaguer.home.createOrEditLabel">Create
			or edit a Leaguer</h4>
	</div>
	<div class="modal-body">
		<jhi-alert-error></jhi-alert-error>
		<div class="container-fluid">
			<div class="row">
				<div ng-repeat="item in [1,2,3,4,5,6,7,8,9,10] track by item"
					class="col-md-2 col-sm-3 col-xs-12">
					<div class="thumbnail">
						<img src="/content/images/store/avatar/{{item}}.png" alt="">
						<div class="caption">
							<button type="submit" ng-click="vm.changeAvatar(item)"
								class="btn btn-primary">
								<span class="glyphicon glyphicon-ok"></span>&nbsp;<span
									data-translate="entity.action.chooseavatar">choose avatar</span>
							</button>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div class="modal-footer">
		<button type="button" class="btn btn-default" data-dismiss="modal"
			ng-click="vm.clear()">
			<span class="glyphicon glyphicon-ban-circle"></span>&nbsp;<span
				data-translate="entity.action.cancel">Cancel</span>
		</button>
		<button type="submit" ng-disabled="editForm.$invalid || vm.isSaving"
			class="btn btn-primary">
			<span class="glyphicon glyphicon-save"></span>&nbsp;<span
				data-translate="entity.action.save">Save</span>
		</button>
	</div>
</form>
